package com.a2v2.online.store.service.constant;

public enum ErrorCode {
	
	ERR001("ERR001", "Error description"),
	ACK001("ACK001", "ACK001"),
	GENERR001("GENERR001","Internal processing error, please try again or contact customer support."),
	SYSTEM001("SYSTEM001","Unable to process, please try again after sometime."),
	SYSTEM002("SYSTEM002","Database exception."),
	IESY003("IE_SY_003","Generic Request can not be null"),
	IESY004("IE_SY_004","Token can not be null"),
	IESY005("IE_SY_005","Invalid request most probably due to invalid token"),
	NTBE006("NT_BE_006","Notification failed"),
	UABE007("UA_BE_007","User authentication failed."),
	ILBE007("IL_BE_007","Image downloading failed."),
	APBE001("AP_BE_001","User Config Amount is less than the bill amount."),
	APBE002("AP_BE_002","Unable to debit the User Account.");
	private String code;
	private String description;

	/**
	 *
	 * @param pCode
	 * @param pDescription
	 */
	private ErrorCode(final String pCode, final String pDescription) {
		this.code = pCode;
		this.description = pDescription;
	}
	public String getCode() {
		return code;
	}
	public String getDescription() {
		return description;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
